<?php
namespace App\Api;

use PhalApi\Api;



class Hello extends Api {

	public function getRules() {
        return array(
            'world' => array(
                'username' 	=> array('name' => 'username', 'default' => 'PhalApi'),
            ),
        );
	}


	 /**
     *测试
     * @desc 测试
     */

    public function world() {
        return array('title' => 'Hello World!');
    }
}